package cn.ruituo.adv6;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Vector;

public class Fanshe3 {
    public static List getList(int type){
        if(type==1)
            return new ArrayList();
        else if(type==2)
            return new LinkedList();
        else
            return new Vector();
    }

    public static void main(String[] args) {
        int t= (int) (System.currentTimeMillis()%4);
        List list=getList(t);
        System.out.println(list.getClass().getName());
    }
}
